package com.hspedu.web.interceptor;

import com.hspedu.web.json.entity.User;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class FurnHandler {
    @RequestMapping("/hi")
    public String hi(User user){
        System.out.println("----FurnHandler---hi()-----");
        return "success";
    }
    @RequestMapping("/hello")
    public String hello(User user){
        System.out.println("----FurnHandler---hello()-----");
        return "success";
    }

    @RequestMapping("/ok")
    public String ok(){
        System.out.println("----FurnHandler---ok()-----");
        return "success";
    }
    @RequestMapping("/myIntercepter")
    public String myIntercepter(User user){
        System.out.println("----FurnHandler---myIntercepter()-----");
        return "success";
    }

}
